﻿Imports System
Imports System.IO
Imports System.Runtime.Serialization
Imports System.Runtime.Serialization.Formatters.Binary
''' <summary>
''' 站点信息
''' </summary>
''' <remarks></remarks>
<Serializable()> Public Class Station
    Implements ICloneable

    ''' <summary>
    ''' 站点编号，5位数字。必选参数
    ''' </summary>
    ''' <remarks></remarks>
    Public Stanum As Integer = 99999

    ''' <summary>
    ''' 被处理的数据的开始年份，是2位或4位数。必选参数
    ''' </summary>
    ''' <remarks></remarks>
    Public Year As Integer = 2007

    ''' <summary>
    ''' 站点的名称。可选数据
    ''' </summary>
    ''' <remarks></remarks>
    Public Name As String

    ''' <summary>
    ''' 相对X坐标，目前版本的模型不作处理。可选数据
    ''' </summary>
    ''' <remarks></remarks>
    Public Xcoord As Integer

    ''' <summary>
    ''' 相对Y坐标，目前版本的模型不作处理。可选数据
    ''' </summary>
    ''' <remarks></remarks>
    Public Ycoord As Integer



    Public Function Clone() As Object Implements System.ICloneable.Clone
        Dim obj As New Station

        obj.Stanum = Me.Stanum


        obj.Year = Me.Year

        obj.Name = Me.Name


        obj.Xcoord = Me.Xcoord

        obj.Ycoord = Me.Ycoord

        Return obj

    End Function
End Class




